/*
 * Created by: 	Zhaoningbo
 * at:			2011-8-29 - 下午03:56:22
 * blog:		(http://zhaoningbo.iteye.com/)
 */
package com.gc.test.autoproxy;

import java.io.Serializable;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.FileSystemXmlApplicationContext;

import com.gc.impl.autoproxy.TimeBook;

public class MyTestAutoProxy implements Serializable {

    private static final long serialVersionUID = 7550154751986855376L;

    public static void main(String[] args) {
        ApplicationContext applicationContext = new FileSystemXmlApplicationContext("classpath:config.xml");
        TimeBook timeBook = (TimeBook)applicationContext.getBean("timeBookImpl");
        timeBook.doCheck("阿黄");
    }

}
